using Microsoft.Extensions.DependencyInjection;

var builder = WebApplication.CreateBuilder(args);


//builder.Services.AddActors(options =>
//{
//    options.Actors.RegisterActor<DemoActor>();
//});

var app = builder.Build();
app.MapGet("/", () => "Hello World!");

app.MapGet("/Hello1", () =>
{
    Console.WriteLine("Hello World1!");
    return $"\"Hello World1!\"";
});

app.MapPost("/Hello2", () => Console.WriteLine("Hello World2!"));

app.Map("/Hello3", () => Console.WriteLine("Hello World3!"));

app.Run();
